<table>
    <tbody>
    
        <tr>
            <td class="name">
                <label for="serialNumber"><g:message code="b2b.product.serialNumber.label" default="Product Number" /></label>
            </td>
            <td class="value ${hasErrors(bean: productInstance, field: 'serialNumber', 'errors')}">
                <g:textField name="serialNumber" maxlength="20" value="${productInstance?.serialNumber}" />
            </td>

            <td class="name">
                <label for="name"><g:message code="b2b.product.name.label" default="Name" /></label>
            </td>
            <td class="value ${hasErrors(bean: productInstance, field: 'name', 'errors')}">
                <g:textField name="name" maxlength="60" value="${productInstance?.name}" />
            </td>
        </tr>
    
        <tr>
            <td class="name">
                <label for="standard"><g:message code="b2b.product.standard.label" default="Standard" /></label>
            </td>
            <td class="value ${hasErrors(bean: productInstance, field: 'standard', 'errors')}">
                <g:textField name="standard" maxlength="60" value="${productInstance?.standard}" />
            </td>
            <td class="name">&nbsp;</td>
            <td class="value">&nbsp;</td>

        </tr>
    
        <tr>
            <td class="name">
                <label for="unit"><g:message code="b2b.product.unit.label" default="Unit" /></label>
            </td>
            <td class="value ${hasErrors(bean: productInstance, field: 'unit', 'errors')}">
                <g:textField name="unit" maxlength="2" value="${productInstance?.unit}" />
            </td>

            <td class="name">
                <label for="price"><g:message code="b2b.product.price.label" default="Price" /></label>
            </td>
            <td class="value ${hasErrors(bean: productInstance, field: 'price', 'errors')}">
                <g:textField name="price" value="${fieldValue(bean: productInstance, field: 'price')}" />
            </td>
        </tr>
    
        <tr>
            <td class="name">
                <label for="isIncludeTax"><g:message code="b2b.product.isIncludeTax.label" default="Is Include Tax" /></label>
            </td>
            <td class="value ${hasErrors(bean: productInstance, field: 'isIncludeTax', 'errors')}">
                <g:checkBox name="isIncludeTax" value="${productInstance?.isIncludeTax}" />
            </td>

            <td class="name">
                <label for="isActive"><g:message code="b2b.product.isActive.label" default="Is Active" /></label>
            </td>
            <td class="value ${hasErrors(bean: productInstance, field: 'isActive', 'errors')}">
                <g:checkBox name="isActive" value="${productInstance?.isActive}" />
            </td>
        </tr>
    
    </tbody>
</table>